package the.broccoli.setting.mapper;

import org.apache.ibatis.annotations.Param;
import the.broccoli.setting.entity.Dict;
import org.wisteria.framework.web.mvc.dao.SuperMapper;

/**
 * <p>
 * 字典项 Mapper 接口
 * </p>
 *
 * @author lei.liu
 * @since 2019-11-27
 */
public interface DictMapper extends SuperMapper<Dict> {

    /**
     * 获取字典项
     * @param dictCode  字典项编码
     * @return  字典项
     */
    Dict selectByCode(@Param("dictCode") String dictCode);

}
